package com.jic.member.entity.power;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 会员等级权益关联表
 * @author : zxl
 * @email : 
 * @since : 2020-04-04 10:45:04
 * @version : v1.0.0
 */
@Getter
@Setter
public class MegradeRule implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "主表ID")
    private Long id;
    @ApiModelProperty(notes = "等级名称")
    private String gradeName;
    @ApiModelProperty(notes = "会员等级id 关联 mem_member_grade")
    private Long gradeId;
    @ApiModelProperty(notes = "会员权益id 关联 mem_member_legal_rule")
    private Long legalRuleId;
    @ApiModelProperty(notes = "组织id")
    private Long deptId;
    @ApiModelProperty(notes = "所属组织类型")
    private Long deptType;
    @ApiModelProperty(notes = "所属平台名称")
    private String deptName;
    @ApiModelProperty(notes = "创建日期")
    private Date createTime;
    @ApiModelProperty(notes = "创建用户ID")
    private Long creator;
    @ApiModelProperty(notes = "创建用户")
    private String creatorName;
    @ApiModelProperty(notes = "更新时间 数据库")
    private Date updateTime;
    @ApiModelProperty(notes = "更新用户ID")
    private Long updater;
    @ApiModelProperty(notes = "更新用户")
    private String updaterName;
    @ApiModelProperty(notes = "1 删除 0 未删除")
    private Integer deleteFlag;
    @ApiModelProperty(notes = "状态 0:启用 1:停用")
    private Integer status;
    @ApiModelProperty(notes = "等级名称")
    private String levelName;
    @ApiModelProperty(notes = "操作信息")
    private AdminOperate adminOperate;
    @ApiModelProperty(notes = "权益ids")
    private List<Long> ruleIds;
    @ApiModelProperty(notes = "已配置条数")
    private Long roleTotal;
    @ApiModelProperty(notes = "开始日期")
    private Date startTime;
    @ApiModelProperty(notes = "结束日期")
    private Date endTime;
    @ApiModelProperty(notes = "子平台id")
    private Long childId;
    @ApiModelProperty(notes = "是否是母平台 1是 0否")
    private Long isMom;
    @ApiModelProperty(notes = "权益名称")
    private String legalRuleName;
    @ApiModelProperty(notes = "商家/店铺名称")
    private String merchantOrStoreName;
    @ApiModelProperty(notes = "商家/店铺id")
    private List<Long> merchantOrStoreList;
    @ApiModelProperty(notes = "商家或者店铺ids")
    private List<Long> merchantOrStoreIds;
    @ApiModelProperty(notes = "部门ids")
    private List<Long> deptIds;
    @ApiModelProperty(notes = "适用范围 1商家 2店铺 3 未设置")
    private Long scopeApplication;
    @ApiModelProperty(notes = "部门ids")
    private List<Long> childIds;
    @ApiModelProperty(notes = "1 店铺会员专属 2会员")
    private Long storeMember;
    @ApiModelProperty(notes = "等级类型")
    private String typeName;

}